<link href="__CDN__/assets/addons/qingdongwms/css/common.css?v={$Think.config.site.version}" rel="stylesheet">

<style type="text/css">
	.btn-list {
		position: fixed;
		right: 40px;
	}
	.div-flex {
		display: flex
	}
	.div-flex .form-group {
		margin-right: 50px;
		text-align: center;
		line-height: 25px;
		margin-bottom: 0;
	}
	.tab-pane {
		border: 1px solid #F6F6F6;
	}
	.i-color {
		font-size: 34px;margin-right: 10px;color: #86C3FF;
	}
	.thumbnail {
		display: flow-root;
		width: max-content;
	}
	.thumbnail img {
		width: 50px;
		float: left;
		padding: 5px;
	}
</style>
<div class="panel panel-default panel-intro">
	<input type="hidden" name="ids" id="ids" value="{$ids}"/>
	<div class="div-flex">
		<img src="{$row.img}" width="50" style="margin-right: 10px;">
		<div style="line-height: 35px"><b>{$row.name}</b></div>
		<div class="btn-list">
			<a data-url="qingdongwms/product/product/edit?ids={$ids}" class="btn btn-primary btn-info btn-dialog {:$auth->check('qingdongwms/product/product/edit')?'':'hide'}"   data-area=["90%","90%"] data-title="编辑"  >编辑</a>
			<a class="btn btn-info btn-danger btn-del {:$auth->check('qingdongwms/product/product/del')?'':'hide'}"  id="dels">删除</a>

		</div>
	</div>
	<div class="div-flex" style="margin-top: 20px">
		<div class="form-group">
			<span>产品编码</span>
			<p><label>{$row.num}</label></p>
		</div>
		<div class="form-group">
			<span>零销价</span>
			<p><label>{$row.price}</label></p>
		</div>
		<div class="form-group">
			<span>批发价</span>
			<p><label>{$row.wholesale}</label></p>
		</div>
	</div>

	<div>

		<ul class="nav nav-tabs" role="tablist">
			<li role="presentation" class="active"><a href="#basic" aria-controls="profile" role="tab" data-toggle="tab">基本信息</a></li>

		</ul>

		<div class="tab-content" style="overflow-y: scroll;height:565px">

			<div role="tabpanel" class="tab-pane fade panel-body active in" id="basic">

				<div class="form-group">
					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">产品名称:</span>
							{$row.name}
						</div>
					</div>
					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">产品编码:</span>
							{$row.num}
						</div>
					</div>
					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">零销价:</span>
							{$row.price}
						</div>
					</div>
					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">批发价:</span>
							{$row.wholesale}
						</div>
					</div>

					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">产品图片:</span>
							{if condition="$row.img neq null"}
							<img src="{$row.img}" width="200" height="200" style="margin-left: 10px">
							{/if}
						</div>
					</div>
					<div class="col-xs-6 col-sm-6">
						<div class="form-group col-sm-10">
							<span class="text-muted">产品描述:</span>
							{$row.description|htmlspecialchars_decode}
						</div>
					</div>
				</div>

			</div>

		</div>

	</div>
</div>